<!--
 * @Descripttion: 核酸宝项目前端
 * @version: 
 * @Author: 杜宇轩
 * @Date: 2022-05-22 05:23:33
 * @LastEditors: 杜宇轩
 * @LastEditTime: 2022-05-22 06:20:40
-->
<template>
  <div>
    <el-menu
      background-color="#545C64"
      text-color="#FFFFFF"
      active-text-color="#FFD04B"
      class="left_menu"
      :default-active="$route.path"
      router
    >
      <el-menu-item index="/doctor">
        <i class="el-icon-edit-outline"/>
        <span>上传核酸检测结果</span>
      </el-menu-item>
    </el-menu>
    <div class="main_box">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Doctor',
  data() {
    return {
    }
  },
  methods: {
  }
}
</script>

<style lang="scss">
.left_menu {
  font-weight: bold;
  position: fixed;
  top: 60px;
  left: 0;
  height: calc(100% - 60px);
  width: 260px;
  overflow: hidden;
}

.el-menu-item {
  font-size: 16px;
  text-align: left;
}

.main_box {
  position: fixed;
  top: 60px;
  left: 261px;
  height: calc(100% - 60px);
  width: calc(100% - 261px);
  overflow: auto;
}

</style>
